package com.platform.framework.gateway.wxpay.config;


/**
 * 
 * @author ly-liugaoyang
 * @create time 2016年9月3日
 */
public class WxpayConfig {
	
	// 字符编码格式 目前支持 gbk 或 utf-8
	public static String INPUT_CHARSET = "UTF-8";
	
	public static String app_id = "wx56010a93fa662f1b";
	
	public static String mch_id = "1304183801";
	
//	public static String NOTIFY_URL = "e4s.stg.dongfeng-nissan.com.cn/e4s-epay/wxpay/notifyInfo";
	public static String NOTIFY_URL = "http://lain001.picp.io/sys/trade/wxNotifyInfo";
	
	public static String key = "dfldata1002974661839910666434831";
	
	public static String certFilePath = "C://test/dndc/apiclient_cert.p12";
//	public static String certFilePath = "/usr/local/test/dndc/apiclient_cert.p12";
//	public static String certFilePath = "/usr/local/dndc/apiclient_cert.p12";
	
	public static int  MaxQueryRetry = 3;
	
	public static int  QueryDuration = 10*1000;
	
	// 微信H5调用OPENID获取回调接口
//	public static String GET_OPEN_ID_URL = "http://e4s.stg.dongfeng-nissan.com.cn/e4s-epay/wxpay/getOpenId";
	public static String GET_OPEN_ID_URL = "http://service.chebaba.com/epay/wxpay/getOpenId";
	
	// openid 获取接口 BY DNDC （静默授权）
	public static String OPEN_ID_INF = "http://weixin.dongfeng-nissan.com.cn/api.php?a=E4S&m=userOauth";
	
	// 自助预约专用H5支付URL
//	public static String ZI_ZHU_YU_YUE = "http://weixin.dongfeng-nissan.com.cn/api.php?a=E4S&m=userOauth&url=http%3a%2f%2fe4s.stg.dongfeng-nissan.com.cn%2fe4s-epay%2fwxpay%2fgetOpenId%3ftradeFlowId%3d";
	public static String ZI_ZHU_YU_YUE = "http://weixin.dongfeng-nissan.com.cn/api.php?a=E4S&m=userOauth&url=http%3a%2f%2fservice.chebaba.com%2fepay%2fwxpay%2fgetOpenId%3ftradeFlowId%3d";
	
}
